#include"vector.h"
#include"reverse_iterator.h"
#include<string>
#include<iostream>
using namespace std;


void test()
{
	bit::vector<int> v;
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	for (int i = 0; i < v.size(); i++)
	{
		cout << v[i] << " ";
	}
	cout << endl;
	for (auto e : v)
	{
		cout << e << " ";
	}
	cout << endl;
	v.insert(v.begin() + 1, 5);
	for (auto e : v)
	{
		cout << e << " ";
	}
	cout << endl;
	v.erase(v.begin() + 2);
	for (auto e : v)
	{
		cout << e << " ";
	}
}
int main()
{
	//bit::test_vector1();
	//bit::test_vector2();
	//bit::test_vector3();
	//bit::test_vector4();
	//bit::test_vector5();
	//bit::test_vector6();
	//bit::test_vector7();
	//bit::test_vector8();
	//bit::test_vector9();
	bit::test_vector10();
	return 0;
}